
<style>
    .medialist{
        display: flex;
        flex-wrap: wrap;
    }

    .medialist img{
        width: 100px;
        height: 100px;
        object-fit: cover;
    }

    .medialist .item+.item{
       margin-left: 10px;
    }

    .medialist video{
        width: 300px;
        height: 180px;
    }

</style>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" disabled data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-category_id" disabled  class="form-control"   type="text" value="{$row.category.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" disabled class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" disabled class="form-control " rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('附件')}:</label>
        <div class="col-xs-12 col-sm-8 medialist">
            {volist name="$row['file_list']" id="vo" empty="无"}
                <a class="item" href="{$vo.cdn_url}" target="_blank">
                    <img src="{$vo.cdn_url}" />
                </a>
            {/volist}
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Used_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-used_time" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[used_time]" type="text" value="{:$row.used_time?datetime($row.used_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Linkname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-linkname" disabled class="form-control" name="row[linkname]" type="text" value="{$row.linkname|htmlentities}:{$row.telephone|htmlentities}">
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <input id="c-status" disabled class="form-control"  type="text" value="{$row.status_text|htmlentities}">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sudit_opinion')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sudit_opinion" disabled class="form-control" name="row[sudit_opinion]" type="text" value="{$row.sudit_opinion|htmlentities}">
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" disabled class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
        </div>
    </div>
    
</form>
